package com.winxuan.channel.controller.commodity.form;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

public class TtForm {
	
	@NotEmpty
	@NotBlank
	@Size(max=5,min=1)
	private String name;
	
	@NotEmpty
	@NotBlank
	@Email
	private String email;
	
	@NotEmpty
	@NotBlank
	private String password;
	
	@NotBlank
	private String confirmedPassword;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getConfirmedPassword() {
		return confirmedPassword;
	}

	public void setConfirmedPassword(String confirmedPassword) {
		this.confirmedPassword = confirmedPassword;
	}
	
	
	
}
